MutableVec1
A mutable one-dimensional vector with a double-precision component.
Functions
Link copied to clipboard
Calculate the angle between this vector and another vector.
Link copied to clipboard
Returns the number of dimensions of the spatial object.
Link copied to clipboard
Compute the distance to another point.
Link copied to clipboard
Calculate the dot product of this vector with another vector.
Link copied to clipboard
open fun eq(other: Vector1<*>, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean
Checks if two vectors are equal within a specified tolerance.
Link copied to clipboard
Returns true if any value in the spatial is infinite.
Link copied to clipboard
Subtracts another vector from this vector.
Link copied to clipboard
Normalizes the vector.
Link copied to clipboard
Calculates the squared norm of the vector.
Link copied to clipboard
Adds another vector to this vector.
Link copied to clipboard
Scale this vector by a scalar value.
Link copied to clipboard
Creates a mutable copy of this vector.
Link copied to clipboard
Negates the vector, flipping its direction.
Link copied to clipboard
Creates a vector with the specified component.
Link copied to clipboard
Get Zero vector.